#include <stdio.h>

struct Student
{
	char name[50];
	int age;
	float gpa;
} students[] = {
	{"Alice",20,3.8},
	{"Bob",21,3.5},
	{"Jack",23,3.9}
};

int main()
{	
	int size = sizeof(students) / sizeof(students[0]);
	
	for (int i =0; i < size; i++)
	{
		printf("学生：%d\n", i + 1);
		printf("姓名：%s\n", students[i].name);
		printf("年龄：%d\n", students[i].age);
		printf("GPA：%.2f\n\n", students[i].gpa);
	}

	return 0;
}
